package com.car.loan.project.xr.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.experimental.Accessors;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 车贷逾期对象 xr_loan_ext
 *
 * @author ruoyi
 * @date 2019-11-03
 */
@TableName("xr_loan_ext")
@Data
@Accessors(chain = true)
public class LoanExt {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long loanId;

    /**
     * 销售金额，单位元
     */
    @ApiModelProperty("销售金额，单位元")
    private Double sellAmount;

    /**
     * 分期金额，单位元
     */
    @ApiModelProperty("分期金额，单位元")
    private Double installmentAmount;

    /**
     * 融资金额
     */
    @ApiModelProperty("融资金额")
    private Double financingAmount;

    /**
     * 费率，百分比
     */
    @ApiModelProperty("费率，百分比")
    private Double rate;

    /**
     * 期数
     */
    @ApiModelProperty("期数")
    private Long term;

    /**
     * 银行费率，百分比
     */
    @ApiModelProperty("银行费率，百分比")
    private Double bankRate;

    /**
     * 月还款额，单位元
     */
    @ApiModelProperty("月还款额，单位元")
    private Double monthRepay;

    /**
     * 开始时间
     */
    @ApiModelProperty("开始时间")
    private String startDate;

    /**
     * 结束时间
     */
    @ApiModelProperty("结束时间")
    private String endDate;

    /**
     * 结清时间
     */
    @ApiModelProperty("结清时间")
    private String settleDate;

    @ApiModelProperty("结算备注")
    private String settleRemark;

    /**
     * 部门名称
     */
    @ApiModelProperty("部门名称")
    private String depName;

    /**
     * 业务员名称
     */
    @ApiModelProperty("业务员名称")
    private String adminName;

    /**
     * 银行名称
     */
    @ApiModelProperty("银行名称")
    private String bankName;

    /**
     * 经销商名称
     */
    @ApiModelProperty("经销商名称")
    private String dealerName;

    /**
     * 车系型号
     */
    @ApiModelProperty("车系型号")
    private String carName;

    /**
     * 车辆类型 从银行取值
     */
    @ApiModelProperty("车辆类型 从银行取值")
    private String carType;

    @ApiModelProperty("结清时间 yyyy-mm-dd")
    private String settlementDate;

    @ApiModelProperty("结清备注")
    private String settlementRemark;

    @ApiModelProperty("主借方单位(合同)")
    private String contractDebtorUnit;

    @ApiModelProperty("主借方单位地址(合同)")
    private String contractDebtorUnitAddress;

    @ApiModelProperty("主借方单位电话(合同)")
    private String contractDebtorUnitPhone;

    @ApiModelProperty("主借方联系地址(合同)")
    private String contractDebtorContactAddress;

    @ApiModelProperty("逾期次数")
    private Integer overdueCount;

    @ApiModelProperty("逾期金额")
    private Double overdueAmount;

    @ApiModelProperty("最高逾期金额")
    private Double overdueMaxAmount;

    @ApiModelProperty("垫款金额")
    private Double advancesAmount;

    @ApiModelProperty("当期逾期期数")
    private Integer overdueTerm;

}
